package main

import "fmt"

type AInterface interface {
	test01()
	Test02()
}

type BInterface interface {
	test01()
	test03()
}
type CInterface interface {
	AInterface
	BInterface
}

type Sc struct{}

func (sc Sc) test01() {
	fmt.Println("sc.test01()")
}
func (sc Sc) test02() {
	fmt.Println("sc.test02()")
}
func (sc Sc) test03() {
	fmt.Println("sc.test03()")
}

func main() {
	var c CInterface
	c.test01()
	fmt.Println(c)
}
